
def test(a,b):
    def test_in(x):
        return a*x+b

    return test_in


line = test(10,10)
line(3)

line2 = test(3,3)
line2(4)

print(line(3))
print(line2(4))

